package com.designpattern.factory;

/**
 * 任意定制交通工具
 *      继承movable
 * 任意定制生产过程
 *      Movable XXXFactory.create();
 *
 */
public class Main {

    public static void main(String[] args) {
//        Movable car = new Car();
//        car.go();
        Movable car = new CarFacotry().createCar();
        car.go();
    }
}
